package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.OrderGasDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 刘国航
 * @desc
 * @since 2024/10/21 19:57
 */
@Mapper
public interface OrderGasDetailMapper extends BaseMapper<OrderGasDetail> {

    BigDecimal getUnCountedBeforeDate(@Param("limitDate") Date limitDate);

    int updateCountedBeforeDate(@Param("limitDate") Date limitDate);

    BigDecimal getUnSettledBeforeDate(@Param("limitDate") Date limitDate);

    int updateSettledBeforeDate(@Param("limitDate") Date limitDate);

}
